/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.sbbs.demo.service;

import javax.ejb.Stateless;
import javax.inject.Inject;
import org.sbbs.demo.dao.DemoEntityDao;
import org.sbbs.demo.entity.DemoEntity;

/**
 *
 * @author Administrator
 */
@Stateless
public class DemoEntityEjb {

    @Inject
    DemoEntityDao dao;

   public DemoEntity save(DemoEntity e) {
        return this.dao.save(e);
    }
}
